<div class="navbar-fixed">
    <nav>
        <div class="container amber darken-1">
            <div class="nav-wrapper">
          <!--      <form class="left">
                    <div class="input-field">
                        <input id="search" type="text" class="validate" placeholder="搜索...">
                        <button type="submit" class="amber darken-1 waves-effect waves-light btn">搜索</button>
                    </div>
                </form>-->
                <ul id="dropdown1" class="dropdown-content">
                    <li><a href="/create"><i class="material-icons left">library_books</i>发布文章</a></li>
                    <li><a href="/emails"><i class="material-icons left">email</i>站内消息</a></li>
                    <li class="divider"></li>
                    <li><a href="/profile"><i class="material-icons left">android</i>账号资料</a></li>
                    <li><a href="/password"><i class="material-icons left">lock</i> 密码设置</a></li>
                    <li class="divider"></li>
                    <li><a href="/logout"><i class="material-icons left">settings_power</i> 退出登录</a></li>
                </ul>
                <ul class="left hide-on-med-and-down">
                    <li>
                        <div class="input-field col s12">
                            <i class="material-icons prefix">search</i>
                            <input type="text" placeholder="搜索....">
                        </div>
                    </li>
                    <li>
                        <a href="/"><i class="material-icons left">home</i> 首页</a>
                    </li>
                </ul>
                <ul id="nav-mobile" class="right hide-on-med-and-down">
                    <li><a class="dropdown-button" href="#!" data-activates="dropdown1">mengkeys@hotmail.com<i class="material-icons right">arrow_drop_down</i></a></li>
                </ul>
            </div>
        </div>

    </nav>
</div>
